
FROM openjdk:8-alpine

ARG projectName

ENV deployDir /home/deploy/fast-mpg

ENV logDir /home/logs/fast-mpg

RUN mkdir -p ${deployDir} ${logDir}

ENV LOGPATH ${logDir}

ADD target/fast-mpg-make-assembly.tar.gz ${deployDir}

WORKDIR ${deployDir}

CMD ["/bin/sh", "start.sh"]